package ar.com.globallogic.promomr.domain;

public class UnderAgeContentFilter extends AgeContentFilter {

	public UnderAgeContentFilter(int minAge) {
		super(minAge, null);
	}
	
	@Override
	public boolean passes(User user) {
		if(isUserUnderMinAge(user)){
			return false;
		}
		return this.getNext().passes(user);
	}

}
